using SqlSugar;
using StudyCompanion.Core.Models;

namespace StudyCompanion.Entity.Study;

/// <summary>
///     2.1 年级
/// </summary>
[SugarTable("stu_class")]
public class StuClassEntity : BaseEntity
{
    /// <summary>
    ///     年级
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    ///     排序
    /// </summary>
    public int Sort { get; set; }

    /// <summary>
    ///     是否有效
    /// </summary>
    public bool IsValid { get; set; }

    /// <summary>
    ///     是否为年级
    /// </summary>
    public bool IsClass { get; set; }
}